package com.gnehcnij.mall.service.impl;

import com.gnehcnij.mall.bean.UserAddress;
import com.gnehcnij.mall.service.UserService;

import java.util.Arrays;
import java.util.List;

public class UserServiceImpl implements UserService {

    public List<UserAddress> getUserAddressList(String userId) {
        UserAddress address1 = new UserAddress(1, "九龙", "10010", "老王", "15692429653", "Y");
        UserAddress address2 = new UserAddress(2, "广州棠下村", "10010", "老王", "15692429653", "N");
        return Arrays.asList(address1, address2);
    }

}
